const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  // 动态路由
  sidebarRouters: state => state.permission.sidebarRouters,
  // 多tab
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  // 权限标签，主要用来控制按钮是否展示
  permissions: state => state.user.permissions,
  // 字典信息
  dict: state => state.dict.dict,
}
export default getters
